package thread;

/**
 * @program: baseModule
 * @description:
 * @author: zhanghz001
 * @create: 2020-10-25 14:32
 **/
public class SonThread implements Runnable {
    private int i;

    public SonThread(int i) {
        this.i = i;
    }

    @Override
    public void run() {
        i++;
        // System.out.println(Thread.currentThread().getName());
        // System.out.println("这是一个寂寞的天");
        System.out.println(i);
        // System.out.println("为啥不显示");
    }
}
